(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/components/home-top/index" ], {
    9090: function(e, t, n) {
        n.r(t);
        var o = n("ec8e"), i = n.n(o);
        for (var a in o) [ "default" ].indexOf(a) < 0 && function(e) {
            n.d(t, e, function() {
                return o[e];
            });
        }(a);
        t.default = i.a;
    },
    "96cc": function(e, t, n) {
        n.r(t);
        var o = n("fd04"), i = n("9090");
        for (var a in i) [ "default" ].indexOf(a) < 0 && function(e) {
            n.d(t, e, function() {
                return i[e];
            });
        }(a);
        n("125c");
        var c = n("f0c5"), r = Object(c.a)(i.default, o.b, o.c, !1, null, "efe5d5c2", null, !1, o.a, void 0);
        t.default = r.exports;
    },
    ec8e: function(e, t, n) {
        (function(e) {
            var o = n("4ea4");
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var i = o(n("9523")), a = n("26cb");
            function c(e, t) {
                var n = Object.keys(e);
                if (Object.getOwnPropertySymbols) {
                    var o = Object.getOwnPropertySymbols(e);
                    t && (o = o.filter(function(t) {
                        return Object.getOwnPropertyDescriptor(e, t).enumerable;
                    })), n.push.apply(n, o);
                }
                return n;
            }
            function r(e) {
                for (var t = 1; t < arguments.length; t++) {
                    var n = null != arguments[t] ? arguments[t] : {};
                    t % 2 ? c(Object(n), !0).forEach(function(t) {
                        (0, i.default)(e, t, n[t]);
                    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c(Object(n)).forEach(function(t) {
                        Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
                    });
                }
                return e;
            }
            t.default = {
                name: "HomeTop",
                components: {
                    snow: function() {
                        Promise.all([ n.e("common/vendor"), n.e("pages/components/snow/index") ]).then(function() {
                            return resolve(n("e50f"));
                        }.bind(null, n)).catch(n.oe);
                    }
                },
                props: {
                    list: {
                        type: Array,
                        default: function() {
                            return [];
                        }
                    },
                    quickEntry: {
                        type: Array,
                        default: function() {
                            return [];
                        }
                    },
                    pageName: {
                        type: String,
                        default: ""
                    },
                    openInfo: {
                        type: String,
                        default: ""
                    },
                    weather: {
                        type: Object,
                        default: function() {}
                    }
                },
                data: function() {
                    return {
                        animationData: "",
                        currentIndex: 0,
                        swiperDirection: "next",
                        time: "",
                        isLoadVideoFinish: !1
                    };
                },
                mounted: function() {
                    var e = new Date(), t = e.getMonth() + 1, n = e.getDate();
                    this.time = "".concat(t, "月").concat(n, "日");
                },
                methods: r(r({}, (0, a.mapMutations)([ "commonUpdate" ])), {}, {
                    bindtimeupdate: function(e) {
                        e.detail.currentTime > 0 && (this.isLoadVideoFinish = !0);
                    },
                    swiperTransition: function(e) {
                        this.swiperDirection = e.detail.dx > this.prevX ? "next" : "prev", this.prevX = e.detail.dx;
                    },
                    swiperChange: function(e) {
                        var t = e.detail.current;
                        this.currentIndex = t;
                    },
                    goLink: function(e) {
                        e.link && this.handleLinkRoute(e.link), e.eventCode && this.handleCommonBeacon(e.eventCode), 
                        "游故宫首页" === this.pageName ? this.handleCommonUma("Um_Event_TopClick", {
                            Um_Key_ButtonName: e.text
                        }) : this.handleCommonUma("Um_Event_ProductClick", {
                            Um_Key_ProductName: e.text,
                            Um_Key_PageCategory: this.pageName
                        });
                    },
                    goDetail: function(t, n) {
                        var o = t.jump_url, i = t.desc, a = t.type, c = t.title, r = t.id, s = t.image, u = t.jump_type, d = t.jump_page, p = t.jump_appid, l = t.code;
                        if (this.handleCommonBeacon("find_banner_click", {
                            banner_name: c
                        }), 1 === u) {
                            if (2 === a) this.commonUpdate({
                                module: "home",
                                type: "shareData",
                                value: {
                                    title: c,
                                    desc: i,
                                    pic: s,
                                    type: "节气",
                                    path: "pages/index/index",
                                    scene: "_c_t=".concat(Date.now())
                                }
                            }), this.handleLinkRoute("/pages/pack/share/index?id=".concat(r)); else if (3 === a) {
                                var m = "/pages/pack/wenwu-detail/index?code=".concat(l);
                                this.handleLinkRoute(m);
                            }
                        } else if (3 === u && o) this.handleLinkRoute(o); else if (2 === u && d) if (p) e.navigateToMiniProgram({
                            appId: p,
                            path: d
                        }); else {
                            var f = d;
                            3 === a ? f = "/pages/pack/wenwu-detail/index?code=".concat(l) : 2 === a && (this.commonUpdate({
                                module: "home",
                                type: "shareData",
                                value: {
                                    title: c,
                                    desc: i,
                                    pic: s,
                                    type: "节气",
                                    path: "pages/index/index",
                                    scene: "_c_t=".concat(Date.now())
                                }
                            }), f = "/pages/pack/share/index?id=".concat(r)), this.handleLinkRoute(f);
                        } else this.handleLinkRoute(o);
                        this.handleCommonUma("Um_Event_FocusClick", {
                            Um_Key_FocusName: c,
                            Um_Key_FocusPosition: n
                        });
                    },
                    toTicket: function() {
                        this.goLink({
                            url: "https://gugong-tx-1259446244.cos.ap-beijing.myqcloud.com/wxa/shortcut/gmmp.png",
                            text: "购票约展",
                            link: "/pages/tickets/buytickets/home/home",
                            eventCode: "find_icon_tickets_click"
                        });
                    },
                    toMap: function() {
                        this.goLink({
                            url: "https://gugong-tx-1259446244.cos.ap-beijing.myqcloud.com/wxa/shortcut/dtdl.png",
                            text: "地图导览",
                            link: "/modules/guide/pages/index/index",
                            eventCode: "find_icon_guide_click"
                        });
                    }
                })
            };
        }).call(this, n("543d").default);
    },
    fd04: function(e, t, n) {
        n.d(t, "b", function() {
            return i;
        }), n.d(t, "c", function() {
            return a;
        }), n.d(t, "a", function() {
            return o;
        });
        var o = {
            imageView: function() {
                return Promise.all([ n.e("common/vendor"), n.e("pages/components/image-view/index") ]).then(n.bind(null, "2ff9"));
            }
        }, i = function() {
            var e = this, t = (e.$createElement, e._self._c, e.list.length);
            e.$mp.data = Object.assign({}, {
                $root: {
                    g0: t
                }
            });
        }, a = [];
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/components/home-top/index-create-component", {
    "pages/components/home-top/index-create-component": function(e, t, n) {
        n("543d").createComponent(n("96cc"));
    }
}, [ [ "pages/components/home-top/index-create-component" ] ] ]);